package org.zero.onlinesubject.common.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class LiveRoomVo {
    @TableId
    private String liveid;

    private String livename;

    private String description;

    private String userId;

    private UserVo userVo;

    private String livestate;

    private String livetag;

    private String livelink;

    private Integer viewercount;

    private String livecover;

    private Boolean live;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startdate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime enddate;
}
